package com.ssm.entity;

import java.io.Serializable;
import java.util.Date;

public class HpUser implements Serializable{
    private Integer userid;

    private String loginname;

    private String loginpwd;

    private String username;

    private String phone;

    private String email;

    private Date birthday;

    private String headimg;

    private Integer sex;

    private Integer age;

    private Date createtime;

    private Date updatetime;

    private Integer usertypeid;

    private Integer loginstate;

    private Integer userlockstate;

    private Date closetime;

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getLoginname() {
        return loginname;
    }

    public void setLoginname(String loginname) {
        this.loginname = loginname == null ? null : loginname.trim();
    }

    public String getLoginpwd() {
        return loginpwd;
    }

    public void setLoginpwd(String loginpwd) {
        this.loginpwd = loginpwd == null ? null : loginpwd.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getHeadimg() {
        return headimg;
    }

    public void setHeadimg(String headimg) {
        this.headimg = headimg == null ? null : headimg.trim();
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public Integer getUsertypeid() {
        return usertypeid;
    }

    public void setUsertypeid(Integer usertypeid) {
        this.usertypeid = usertypeid;
    }

    public Integer getLoginstate() {
        return loginstate;
    }

    public void setLoginstate(Integer loginstate) {
        this.loginstate = loginstate;
    }

    public Integer getUserlockstate() {
        return userlockstate;
    }

    public void setUserlockstate(Integer userlockstate) {
        this.userlockstate = userlockstate;
    }

    public Date getClosetime() {
        return closetime;
    }

    public void setClosetime(Date closetime) {
        this.closetime = closetime;
    }

	@Override
	public String toString() {
		return "HpUser [userid=" + userid + ", loginname=" + loginname + ", loginpwd=" + loginpwd + ", username="
				+ username + ", phone=" + phone + ", email=" + email + ", birthday=" + birthday + ", headimg=" + headimg
				+ ", sex=" + sex + ", age=" + age + ", createtime=" + createtime + ", updatetime=" + updatetime
				+ ", usertypeid=" + usertypeid + ", loginstate=" + loginstate + ", userlockstate=" + userlockstate
				+ ", closetime=" + closetime + "]";
	}
    
}